﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PhotoGallery.Model
{
    public class User
    {
        private string uid;
        private string username;
        private string password;
        private string nickname;
        private string time;
        private string role;

        public User() { }

        public User(string uid, string username, string password, string nickname, string time, string role) 
        {
            this.uid = uid;
            this.username = username;
            this.password = password;
            this.nickname = nickname;
            this.time = time;
            this.role = role;
        }
        // Properties
        public string Uid
        {
            get { return uid; }
        }
        public string Username
        {
            get { return username; }
            set { this.username = value; }
        }
        public string Password
        {
            get { return password; }
            set { this.password = value; }
        }
        public string Nickname
        {
            get { return nickname; }
            set { this.nickname = value; }
        }
        public string Time {
            get { return time; }
        }
        public string Role
        {
            get { return role; }
            set { this.role = value; }
        }
    }
}
